export default function getBubbleChart(optionSet = []) {
  optionSet = [
    {
      list: [
        {
          x: '10.0',
          y: '8.04',
          title: 'abc1'
        },
        {
          x: '8.0',
          y: '6.95',
          title: 'abc2'
        },
        {
          x: '13.0',
          y: '7.58',
          title: 'abc3'
        },
        {
          x: '9.0',
          y: '8.33',
          title: 'abc4'
        }
      ],
      label: 'x'
    }
  ];
  const option = {
    xAxis: {},
    yAxis: {},
    series: [
      {
        symbolSize: 20,
        data: optionSet[0].list.map(item => [item.x, item.y, item.title]),
        type: 'scatter'
      }
    ]
  };

  return option;
}
